package jdklearning.reflect;

import java.lang.reflect.Method;



public class MethodAndFieldLearning {
	
	

	public static void main(String[] args) throws NoSuchMethodException, SecurityException {
		
		Method m = MethodAndFieldLearning.class.getMethod("main", String[].class);
		System.out.println(m);
		System.out.println(m.getDeclaringClass());
		
		
		
		
	}
}
